using System;
using System.Collections.Generic;
using System.Text;

using Liberty.Domain.CaseManagement;

using Microsoft.VisualStudio.TestTools.UnitTesting;
//using NUnit.Framework.SyntaxHelpers;

namespace Tests.DomainTests.CaseManagement
{
    [TestClass()]
    public class InjuryTests : Object
    {
        #region Constants
        private const string
            INJURY_DESCRIPTION = "Test Injury Description",
            TEST_INJURY_DATE = "5/6/2006 1:45:09",
            TEST_START_DATE = "5/9/2006 1:45:09",
            TEST_UPDATE_DATE = "5/12/2006 1:45:09";
        #endregion

        #region Setup and Teardown InjuryTests
        [TestInitialize()]
        public void SetupInjuryTests()
        {
        }

        [TestCleanup()]
        public void TeardownInjuryTests()
        {
        }
        #endregion

        #region Test Methods
        [TestMethod()]
        public void TestProperties()
        {
            DateTime aDate = DateTime.Parse(TEST_INJURY_DATE);
            DateTime aStartDate = DateTime.Parse(TEST_START_DATE);
            DateTime anUpdateDate = DateTime.Parse(TEST_UPDATE_DATE);

            Case aCase = new Case();
            aCase = InitializeCase();

            Injury anInjury = new Injury();            
            anInjury.CreatedDate = aStartDate;
            anInjury.UpdatedDate = anUpdateDate;
            
            Assert.AreEqual( aStartDate, anInjury.CreatedDate );
            Assert.AreEqual( anUpdateDate, anInjury.UpdatedDate );
        }
        #endregion

        #region Support Methods
        public Case InitializeCase()
        {            
            Case aCase = Case.TestInstance();
            return aCase;
        }
        #endregion

        #region Data Elements
        #endregion

    }
}
